find the values that make the function continuous